/**
 * ClassName: Person
 * Package: PACKAGE_NAME
 * Description:
 *
 * @Author harkjeans
 * @Create 2025/8/31 16:51
 * @Version 1.0
 */
//1.定义类
public class Person {
    // 成员变量（实例变量）
    String name;
    int age;

    // 静态变量（类变量）
    static String species = "Homo sapiens";

    // 方法
    public void sayHello() {
        System.out.println("Hello, my name is " + name);
    }
}
